import request from "@/utils/request";
export function getHotSearch() {
    return request({
        url: "/hotSearch",
        method: "get",
        headers: {
            isToken: false
        }
    })
}
export function updateHotSearch(history) {
    return request({
        url: "/hotSearch?history=" + history,
        method: "put",
        headers: {
            isToken: false
        }

    })
}